<?php
/**
 * @author jonathan <jo.link.noir@gmail.com>
 * @version 1.0: jo_link_noir
 * @date 27-05-2010
 */
class SW_Structure_List
{
	/** @var int*/
	protected $id;

	/** @var int*/
	protected $idElement;

	/** @var int*/
	protected $level;

	/** @var int*/
	protected $duration;

	/** @var int*/
	protected $timeEnd;


	/**
	 * @param int $id : id de la liste
	 * @param int $id_element : id de la structure
	 * @param int $level
	 * @param int $duration
	 * @param int $time_end
	 */
	public function __construct($id, $id_element, $level, $duration, $time_end)
	{
		$this->id = (int)$id;
		$this->idElement = (int)$id_element;
		$this->level = (int)$level;
		$this->duration = (int)$duration;
		$this->timeEnd = (int)$time_end;
	}

	/**
	 * @return int
	 */
	public function getId()
	{
		return $this->id;
	}

	/**
	 * @return int
	 */
	public function getIdElement()
	{
		return $this->idElement;
	}

	/**
	 * @return int
	 */
	public function getLevel()
	{
		return $this->level;
	}

	/**
	 * @return int
	 */
	public function getDuration()
	{
		return $this->duration;
	}

	/**
	 * @return int
	 */
	public function getTimeEnd()
	{
		return $this->timeEnd;
	}
}